import request from '@utils/request'

export const getList = (data) => {
    return request.get(`/api/project/class/list?id=${data?data:""}`)
}
export const classAddEdit = (data) => {
    return request.post(`/api/project/class/save`,data)
}
export const classDel = (data) => {
    return request.get(`/api/project/class/del?id=${data}`)
}

export default { getList, classAddEdit, classDel }